// import React from 'react'
import { fetchArticleList } from "../../api/home"
import { Outlet } from "react-router"
import { Button } from "antd"
const getList = async () => {
  const res = await fetchArticleList()
  console.log("❄️ - res:", res)
}
export default function Home() {
  return (
    <div>
      homePage
      <Button onClick={getList}>getList</Button>
      <Outlet></Outlet>
    </div>
  )
}
